-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update variant.h enable OLED Screen for HT-CT62 #3354
Conversation
🤖 Pull request artifactsempty string
|
Hi this is the reference design from heltec that I assume is used for the "esp dev backplane" https://resource.heltec.cn/download/HT-CT62/HT-CT62_Reference_Design.pdf from that schema it seems there are some incongruences with the variant file In particular GPIO 0 and 1 are used for external oscillator not for the I2C bus `#define I2C_SDA 1 #define BUTTON_PIN 9 // LED flashes brighter #define HAS_SCREEN 1 #undef LORA_SCK #define USE_SX1262 can you clarify what is the HW reference for that variant ? thanks for support and clarification Davide |
yes, variant for use with the heltec provided backplane https://heltec.org/product/esp-dev-backplane/ As for the external oscillator it meant for deep sleep with esp32-c3 (meshtastic dont use deep sleep) - so you dont need it with a custom board there were not too many other pins free so i used it also for i2c This backplane board it not well designed to make best use of the esp32-c3 gpio |
Thanks for the quick reply! I initially thought it was for the "dev backplane"! I've just ordered one backplane to experiment with... One more question, since you've been so helpful: If I want to use the module without a display, meaning I won't connect the display on the I2C bus, do you know if the firmware will still work or will it crash/block? Should I recompile with the HAS_SCREEN 0 option? thanks |
Changing HAS_SCREEN=0 is fine for headless use but think it works fine without oled even HAS_SCREEN =1 It was changed to 1 since even if you had connected a oled the gui would not show If you undefine the I2C pins all together bootup will take long |
Ok I will try to load the FW "as is" without OLED connection and see if it works |
Thr oled display will not show a bootup logo or work when HAS_SCREEN=0 |
Enable OLED for use